package org.tong.validate.req;

import lombok.Data;
import lombok.ToString;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotEmpty;

/**
 * @author
 * @date 2022-08-11 17:00
 */
@ToString
@Data
public class BookReq {

    @NotEmpty(message = "书的名字是什么")
    public String bookName;
}
